package com.ruoyi.customer.domain.bo;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 审件业绩合计单业务对象 t_reviewe_cooperate
 *
 * @author ruoyi
 * @date 2023-10-09
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TRevieweCooperateBo extends BaseEntity {

    /**
     * 合作单id
     */
    @NotNull(message = "合作单id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 审件id
     */
    //@NotNull(message = "审件id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long revieweId;

    /**
     * 业绩
     */
    //@NotNull(message = "业绩不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal revenue;

    /**
     * 比例
     */
    //@NotBlank(message = "比例不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ratio;

    /**
     * 备注
     */
    //@NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    /**
     * 创建者id
     */
    //@NotNull(message = "创建者id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long createId;

    /**
     * 用户id
     */
    //@NotNull(message = "用户id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long userId;

    /**
     * 部门id
     */
    private Long deptId;

    private String disType;


}
